package com.RedRiver.hospitalsystem.record_service.common.exception;

import com.RedRiver.hospitalsystem.exception.RedRiverHISException;
import com.RedRiver.hospitalsystem.record_service.common.Record_serviceResultCode;

public class SerialException extends RedRiverHISException {
    public SerialException(Integer code, String message) {
        super(code, message);
    }

    public SerialException(Record_serviceResultCode error){
        super(error.getCode(),error.getMessage());
    }
}
